package cn.alcatraz.pet.domain;

import java.math.BigDecimal;
import java.util.Date;
import cn.alcatraz.basic.domain.BaseDomain;
import cn.alcatraz.org.domain.Shop;
import cn.alcatraz.user.domain.User;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author alcatraz
 * @since 2022-07-16
 */
@Data
public class Pet extends BaseDomain{



    private String name;
    private BigDecimal costprice;
    private BigDecimal saleprice;
    /**
     * 类型id
     */
    private Long typeId;
    private String resources;
    /**
     * 状态：0下架 1上架
     */
    private Integer state = 0;
    private Date offsaletime;
    private Date onsaletime;
    private Date createtime = new Date();
    /**
     * 店铺Id 如果被领养店铺id为null
     */
    private Long shopId;
    /**
     * 如果被领养为领养用户id
     */
    private Long userId;
    private Long searchMasterMsgId;


    private PetDetail detail;

    private PetType type;

    private Shop shop;

    private User user;

}
